package com.heitian.ssm.dao;

import com.heitian.ssm.model.Section;
import com.heitian.ssm.model.Book;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Zhangxq on 2016/7/15.
 */

@Repository
public interface ItemDao {


    List<Book> getBook(int type);
    List<Book> getCollect(int uid);
    Book getOneBook(int id);
    List<Section> getSection(int id);
}
